package com.btpj.hospital_server.mapper;

import com.btpj.hospital_server.entity.HospitalInfo;

import java.util.List;

public interface HospitalInfoMapper {
    int deleteByPrimaryKey(Long id);

    int insert(HospitalInfo record);

    int insertSelective(HospitalInfo record);

    HospitalInfo selectByPrimaryKey(Long id);

    int selectByName(String name);

    List<HospitalInfo> selectAll(String searchName);

    int updateByPrimaryKeySelective(HospitalInfo record);

    int updateByPrimaryKey(HospitalInfo record);
}